Add static method to extract post from post id
Added getters and setters and display method
Added setter for preview script property