add BasePost

BasePost is base class for creation files of all types of posts and
pages