removed useless function for exception and not used any more.

- removed logger(will be replaced exception)
- removed DB management(due to this is not full stacked web application framework)