Added documentation, fixed up some routing issues