Seperate library, and add console program