a simple and basic microframework for DB handling