structural changes

added directory for code and created test file