Theory of Low Cost Automation