simple game apis + network code cleanup