More base model optimalizations and implemented created_at and updated_at columns