Switched JDBCRepository impl
Fixed structure and improved implementation
Refactored
Added tests