Template improvements

Added auto configuration to resource generator for created_at and
updated_at and improved whitespace.