Revamped to include railway API connection information. Queue consume now properly works. TODOs documented