added new posts class

added some  basic functions {
add,view,update,delete !!
}