Some refactoring, simple click controls, base for drag n drop, added libs.