re-organize code folder