Add namespace and rename class to basemodel
initiate composer and add psr-0 autoloading
add identifyer_key property and use it inside the find method.