Add HMGame importing. also made functions working