Added -p parameter.
objects moved to create.rb