Created new class for application cosole line storage

Fixing how console line data is stored. Updating Makefile and fixing some shared pointer issues.
Merge branch 'feature_forkpty'