Modified DatabaseCore

Implemented following features using attributes
- varchar type support
- index support
- auto_increment support