Bug fixed: changed the visibility of the constructor to public.