added some annotations for iPython notebook
creating protomemes index + row/db API