Added first unit test
Moved Organisation and some Project db queiries to Models