Revert "Removed address parameter function_code --> use address prefix instead (4xxx, 3xxx)"

This reverts commit b2dcd983a8d9076dc87baef43b6b15a32fdeb0ef.
Added support for coils
Cleaning Memory problems
Corrected Error Handeling