adding api stuff for routing. adding database.
adding license