create new lib "Simple2D-Engine" and refactoring of some code parts

Signed-off-by: anti-freak <antifreak2011@gmail.com>