Added static files to installation
Improved code and added installation path support