added cost engine
Merge branch 'master' into costengine
added bus implementation
merged