Added build scripts
Refactor on drag events handle