added apache config file
moved startup.pl
Added code comments and minor refactors