add psr-0 to composer.json
updated directory structure and moved installer class