Added selection class

Still need to integrate it with TextEditor