added core namespace with the main for running standalone