Various changes

Changed license
Rearranged composer.json
Changed parent of DatabaseException from Exception to RuntimeException.
Removed useless dependency