Updated to erb files etc.

Used embedded ruby files (killed html). Serving all endpoints using template setup. This closes #8 .