logging
Use if instead of while
Upgraded to java7 and split rest api into two files. Also implemented
file walker for disk storage