added CORS enablement with piston
added to the api
fixed a bunch of setup bugs in piston API