Added addRepository for butiful api work, converted all logger calls to use debug()