added basic layout for api and tests