Adding Container trait along with implementation for strings and slices.
integrate the `Container` trait more