consolidated post meta code
code rearrangement and cleanup
remove unnecessary functions
finished adding content