initial commit for script system

However there is some troubles with timers