#52 Finish basic functions including parse from api gateway.