Initial integration of Manhattan code

Did an initial integration of the Manhattan code into our environment.
Starting to refactor the multiplier calculation into a function and
developing some initial tests