restructured code
added process spawner and improved example
fixed bugs, removed files, added example integration test