move all code to subdirectory