Made more configurable, corrected name and added routes object