backup before refactoring..
refactored the project. added serail data frame handling