add some basic API structure