Fix string constants in database
Fix database queries errors
Add save new content to local database
Implemented basic upload to server. Works only partially - needs fixing!