adding sample script, created index, main.css, factory script