More functionality for Code Generation

Added read/write from config file functionality.