adding phpdoc 
changing the way that the header image is included
adding initial support for a customisable default post image