Added BasicHandler.getAll method for retrieving all registered objects.
Fixed imports