Moves existing code into API folder

Brings in:

node postgres
migrations