Complete and total refactor of optp.
Updated .gitignore with clion project dir, cmake build dir.
Added GNU LGPL 2.1 license.