add libs and starting code for panel