Cleaned up now working code-base
Attempt to implement reading from file in a separate thread