Added functions

Added classes offset, push and pull.