Refactored Bug and BugController into interfaces, fixed a few code smells