cleaned up files, add more formatting, order pagination, and minor changes to routes