Change to apache license
Adds postgresql and database submodules