Big refactor due to inclusion of new config class.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Implemented a strict mode. Closes #135.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Merge branch 'master' of github.com:dingo/api
Merge branch 'master' of github.com:dingo/api