Invia SMS: Electronic states and optical transitions in semiconductor heterostructures