Cleanup the temporary files.
Move dynamic library handling in separate class.
Move dynamic library handling in separate class.
Reduce the amount of #included files.