moved player logic & added network framework