added dirs. and handlers for css and img folders