Fixed bug with periodically absence a confirmation message.
Removed a lot of unnecessary functions.
Initial version.