Tiny refactor
Refactor

# Moved environment out to seperate file
# Added register repository method to brickTypes
Added default repository concept to brickTypes
Added basic property types