Refactored & separated APIBuilder and APIReader classes.