Database and preparation
Database manager created
Build's splitted into subroutines