Implemented Actor. Created tools.h. Split up polymorphic
definitions into separate declarations and definitions so that it's
possible to include the same polymorphic type in multiple files (by
including the declaration in each and the definition in only one).