Changed the navbar helper module to a class and the main create navbar method to a class method.