Moved js modules to separate files
Adding provider service