Added Data add functionality to ResourceView. Also fixed a stupid bug in DAL (cause a null pointer exception.... It would be easy for java to correct such errors by itself, but it is stupid...) and updated BUGS and Todo