moved express to the api class