restructured code directories