Moved Bootstrap to library/Applicaiton
Added namespace for index.php and cli.php
Fixed tests