Implementation of Config class

This is the implementation of ```Config``` explained in #59.