file structure changes, added configuration script, small template edits