Add categories support, put markdown option into header

Title now should be specified in header; All header tags should be written in order.