0.9: Created more tests for the application and booking modules.
Rearranged code as a result.