Added some oct fixes.
Some beatification.
Updated license.