basic resource scaffolding using thor:prototype artisan command
and various minor changes