Added entry point method

Signed-off-by: Ilya Mikhaltsou <morpheby@gmail.com>