generete models and controllers and add function get - for gettin all layers