Restructure repository into folders