Created a bean component for Navigator class