restructuring of the SW (lib and application)

Added two new folders called lib and application
removed unused files