Reorganize everything to support Angular.JS Images REST