moved sequential code to its own directory