moved methods to lib, methods for Container are bound