removed test code from main function
Implementation of DataLayer

1. Implementation of DataLayer
2. Code style fixes
3. Edit schema.sql
Changed DATATIME to TIMESTAMP

Solving compatibility problems with Java sql types.
Merged

Resolving conflicts with 7 April commits
Added library files to idea