Added support for analog input and coding style updates