Move receive function into main folder