added init to packages
started conversion to interfaces