Added parseconfig

program currently not working