Added database methods.
Merge remote-tracking branch 'Origin/Iteration1' into Iteration1
Added a view class for management system and fixed some mistakes in DB
support class.
Merge remote-tracking branch 'Origin/Iteration1' into Iteration1
Merge branch 'Iteration1' into Iteration1_ManagementSystem