removed tmp dir and made the post image model way more generalized (including editor ui)