Can now extract types from modules (not working with arrays yet)
Added test code for types in modules