removing all 148 code and moving simulation code to root