started styling. changed api routes to be dynamic.