Move contract states into environment

Remove it from the contract's perspective for now.
3 jobs for master in 7 minutes and 1 second (queued for 1 second)