trimmed down, removed sockets, tokens, started on example app