added delete_post and select_post functions

amazing day, finally converted all the crud functions. added the delete
and select functions. will add MVC next day :)
...
..