Little bit of cleaning up
Added site.dir setting to setSite(), file_exists default check and sitePath() to generate site file path