 			tag: ''
 		# todo constraints
 
-		return db
-	)
-	.factory('manifest', ->
-		return gui.App.manifest
+		db
 	)
 
 angular.module('star', ['starCore'])

{ gui } = global

angular.module('starCore', [])
	.factory('core', ->
		return global.star
	)
	.factory('imagesDb', ->
		db = new nedb { autoload: true, nodeWebkitAppName: 'star', filename: 'images.db' }

			tags: ['']
		# todo constraints

		db
	)
	.factory('tagDb', ->
		db = new nedb { autoload: true, nodeWebkitAppName: 'star', filename: 'tags.db' }
