Added location table and elements back to constellations database. Changed switch statements in MainActivity to simple arithmetic.