Fix lint errors. Refactor code
Update deployed files