code refactoring

initial files uploaded