Adde gemfile and modulized main file