Some cleanup and the addition of an index similar to Github's API