split css/js into sep files, added support for gallery import, prettifyed code