ActionFactory

Added the Action Factory class.  COmmented and tested it.