removing annoying files
added suport for rest api