added some camera functionality and redesigned the concept of avatar position