add basic railtie
add toplevel lib file
update README