more or less have the api-server working based on express