Add javadocs and create class Configuration