updated interface and abstract behavior class to receive sql by reference
implemented most basic behaviors