Receiver generalization for mini

compiled, need to be tested!
Merge pull request #382 from Kenny9999/development

Receiver generalization for mini