wrote config parser and initial button mapping