refining values class and laying skelly for main