moved scripts and introduced css file