Fixed printout bug in action.py and capsule.py; updated readme for capsule.py