First import

First import of the Smart Entity already namespace complient and with some code moved to the HeptaSoft.Common.