Finished basic framework. Segfault from invalid return from process function, possibly from kernal.