fixed core class. 
fixed autoloader
improved index.php
preliminary testing..