Add phpdoc for slim() method
add debug option to app