Added touchObject method

Also added a lot of phpdoc