Creating entities and first public interface.

It is based on Ruby`s API.