Added handling of request bodies for server. Instances are now created directly upon exportation to global space.