Text this: Investigation and modelling of building energy management system for sustainable energy usage