changes to comply with strongly typed Language

Final changes to remove the instance of Object class and use strongly
typed instances.