add script for framework building

I've added a small command line script for building framework. 
Also I've added a new target in the project for building static library.