setup api routing for first resource
add postgres, tweak sleep resource