add makefile and fix some libs folder stuff