Basic paralleling

Currently code is not rock solid and needs refactoring.