Removed test code from main function, updated some values to stdint.h