Initial commit

lib compile
some changes