add license type to gemspec
add router generator and tests