Fully re factored  code with every fully documented