updated attachment logic
added placeholder pages
create imported pages into the proper place holder pages
fixed calendar template
handle uploads as well