PHPDOC and stuff

done for the day… i hope.