removed unecessary files, updated directory structure, created global var service