DBInterface class added + parameters handling + managing the app is moved from Database to DBInterface