moved default layout code into source files
updated gitignore