Template app with sqlite db