Begun implementing logic tier (intelligence layer)