Moved Config class and updated composer.json

Signed-off-by: Michael Greenhill <doctorjbeam@gmail.com>