Creating a Basic API server