Moved gems requiring to config, added yaml support, better work with /posts dir, added more settings to config block.