First crack at gemification and railtying

This is a work in progress or first step.. let me know if you want to take it from here and finish it.. I'm not sure if I'll be putting more time into it right now