Writing your own custom site class **********************************