Separated pentagine into several source files.