added blocks to markdown
added methods to each class