First working application with DB initialization