adding all beamtime code
cleaning