Add schemas code

use toList to return a non mutable object?