Update sp.py

add_project()

refactored add_action()