File maintenance, end line behavior,quit behavior

-Moved in the vital external libraries and header files
-Fixed and added end line behavior for each current function
-Implement curses friendly quit behavior and made quit key combo ctrl+q

To Do Next:
-Implement backspace functionality