Added more classes refecting database structure
Added MyApplication class for global variables