Refactoring the code.

* Added Makefile
* Changed the versioning style

Change-Id: Iffb6b46b5e1b64f16e2e77b954dd7c2251298d46
Signed-off-by: Kiril Nesenko <knesenko@redhat.com>