Move weight initialization into seperate file