added mouse input class and entity goal system, bugfixes