Fixed Index Error when no return formats are provided
Removed debug print statement
Added CreateRepo & DeleteRepo and improved the class itself