Fields changes

1. Changed the fields table strcuture, many attributes were added.
2. Added modal panel with jquery plugin on dashboard to add fields.