Refactored application layers. Added generic DAO layer. Write basic test
for UserDao.