Several improvements made to include libraries

Metabox, custom box and custom widgets functionality added as classes