start editing index page, readd css assets, translate bunch of code to the lib