Use binary_to_integer/1
Move get_message_parts/2 to utils
Rename fun
Generalize sending price logic