upload app basically working, though there are some 'database is locked' issues with SQLite