Moving around a lot of functionallity.

Posting data is broken atm
Added new test file and changed a few tests
fixed posting bug
Changed the working of activity related calls, less code better readabillity!
Deleted unused classes