Theory of Excitons