main app

fixed database