made site compatible with foreman
changed base_dir
added template directory