System Beta 2

 -- move sql into DAO
 -- better error handling
 -- add comments to functions for backend logic
fixed a bug that title wasn't getting the latest one from SQL (thanks to unit test)
also added employee's PHP unit test