Removed the rest of the open() calls and replaced them with constructors, switched from config file to an ini file for better readability.