Split files  to directories by type
Join layout and page templates
Move inline images to separated style in the end of the HTML