Quick and dirty implementation of clips

Just a quick implementation of adding clips.
It will be moved to a separate class as soon as possible