Finished moving NEC decoder to a seperate file