moved employee data code to its own class