created helpers, added environment base routing system