Fixed bugs in FootprintsController and Test
Cleaned up files