added configuration. UI needs work, but the functionality is there.