Small refactoring and removed travis ci
since testing does not make sense without a valid database
configuration.