added accessor to Script class for getting the contents member. Implemented Behavior component for executing scripts