Added classes and frontcode