Split buildqueue manager in an other file

Move some files