splited to lib
splited to lib
add Database class
format
added deps
modified notify message