Added api logic and the bitmap drawer.

The first version that shows something :)