added types api
added another server folder for future use
added columns in api and view