added new class Method
added new class Method
added composer
added composer
added phpunit
added test for Method