added resource command, updated gemspec
fixed app template
added some documentation
added example app