Post editor

Pull request to merge initial version of post editor into master