basic markdown reader
added templates
refactor parse file