Implement time, entity actions, new commands and fix NPE