View by context now working

Added view controller method to get actions from database by context and display correctly. Also changed Model class names to have GL_ prefix to prevent namespace clashes, and changed references throughout code to update.