Temporarly changed permissions
Moved DB initialization to a separate file
Sample testing scenario, still needs fixes and assertions