working REST api
refactoring
refactoring
urls added