Dev: transition from sqlite3 to Postgresql 9.3