put commands in seperate file, changed message types to have leading 1s