Refactor builder panels

-- add lots of javadocs
-- remove unused methods
-- clean method structures