You have the rails bolted to the table, a very good start.

Second picture you go wrong. Your mind is stuck in 2D and it has put a terrible overhang on the router to gantry connection and compelled you to move the bed bearings out from under the gantry creating the awful L shape.

There is no reason why the Z axis slides have to clear the router head, they can go either side of it.

Do it again and think overhangs, think 3D