index.php moved to api.php, new index.php
new routers mostly complete, added some 'tests'