gem main file and railtie clean up
integration tests