Working on #3 - URI compression

Adding in helper methods