refacotor(main page): make it installable