Adds configuration class, reworks internals to use it and updates readme.
Bumps version to 0.1.2