refactor socket code into .socket components. remove logging files from git scope because spam.