compiles and moved files into good format