ready to tes

Fixed:
-sending & receiving algorithm
-manual button algorithm
-erro band algorithm
-gateway database change
-gateway receiving and sending, saving to database

Unfixed:
-testing
-webservice