update to python 2.7

also mass attribute and update readme.md