moved getitem / setitem logic to Executablemodel

ExecutableModel not implements the Python mapping protocol correctly. 

Added testing files and testing file accessing functions.