Added config (config.g, config.ini) and inih library.
Added inputs thread for handling joystick.