Split up the problem environment and the states