Worked on prettier urls (round 2), changed the debug levels (alot more self explaining now) and cleared up the code a bit