added diamond selfmon feature
Merge pull request #252 from rtoma/processmemory-selfmon

added diamond selfmon feature
PEP8
Remove unneeded import, fix python path and add coding