Added the DBInterface class to work with SQLite3.
Added username/password authentication on the server.
Added main methods. Fixed formatting issues.