init base classes