Fix parseInt
Implement "add new database" functionality