Added basic case/select structure in main