added IDE files
some code refactoring
added npm install + fixed some typos