Finished the account loop, added commands, added base test class

After this i should write tests for the logic allready created before
moving on.