Refactor of IRailBase to IRailBaseInstance
Started work on rail block creation, logic, and registry.