Commiting basic source

from brgameengine original, but not