Simplify work with status

Depends on #35 
We don't need this java-enterprise stuff for our needs.