Changed many things, put old things into old_code folder