Text this: An algorithm for using internet of things (IoTs) to improve load management in electric power grid