rename GitHub API class and file
fixes for renamed class
added several variables for future use and assigned $type