added code for basic emberjs functionality