Added control functions for voltage measurement and pwm control, restructured code, added gitignore file