Added basic Bug class (function)