More work on key points. Implemented functionality to allow key point frame instances to be added and deleted