90% Railcraft implementation