added template
rewritten structure
fixed minor bugs
added htaccess
replaced zend registry