Added deleteNode function.
Moved LINE functions to their own files.
Moved structure definitions to a header file.