added card creation helper,
handle rspec command line arguments
completed factory specs
added script setting
completed factory specs
tidied up
added mmigration for factory and script cards