add railtie
reorganize gemspec
add initial test and config
basic functionality