Create layer.class.php