Added better subsidiary calculations and removed the public html from repo.