Add some basic api handlers