Added paint action. Added a few todo in action.hpp.