Refactoring

Refactoring into two classes, readline is still wrong.
Almost Solved pdf-problem
Finished!

Fixed readPDF
Merge pull request #1 from CatarinaSorensen/Refactoring

Refactoring