feat: implement logging
feat: some math functions
feat: event system