Implemented complete DerbyDatabase

Stills needs testing
Merge remote-tracking branch 'Justin/master'
Added loginscreen and implemented real database(broken)