Changed startup functions to meteor methods