CRC issues solved and code reshaped to libLTE format