remove extra files
add type system and Makefile