Refactoring

- Removed sqllite.db, the offline database is now created in userdata
folder
- Moved connection.py, database.py, helper.py, httpconn.py and
xbmc_helper.py into resources/lib
- Renamed a lot of functions and class names