Added fully tested Ptr<> template.
Basic implementation of SchemeFunction.