adding css, js and beginning logic