1) Added production grade code in the applibs folder
2) Updated class based approaches for connection and gui