Add Request and Server classes

Note that some constructor arguments have changed in order to remove the dependency on Laravel's Config class.