more make file, documentation, restructuring