Building code tables
Resolves #11