Added by_star gem and made some more changes