Creating a core security class