diff --git a/Procfile b/Procfile
index 26daf562cb..08ee8b7485 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: coffee src/server.coffee
\ No newline at end of file
+web: node src/server.js
\ No newline at end of file
diff --git a/archive/litenull_rewrite/scripts/controllers/statsCtrl.js b/archive/litenull_rewrite/scripts/controllers/statsCtrl.js
deleted file mode 100644
index f559ddb2cd..0000000000
--- a/archive/litenull_rewrite/scripts/controllers/statsCtrl.js
+++ /dev/null
@@ -1,23 +0,0 @@
-'use strict';
-
-/*
-
-Statz controller
-
-- Retrieves statz from localStorage.
-- Exposes the model to the template and provides event handlers
-
-
-*/
-
-
-habitrpg.controller( 'StatsCtrl', function StatsCtrl( $scope, $location, filterFilter, User ) {
- $scope.refreshing = function () {
- return User.settings.fetching ? "spin" : ""
- };
- $scope.queueLength = function () {
- return User.settings.sync.queue.length || User.settings.sync.sent.length
- };
- $scope.stats = User.user.stats;
-
-});
diff --git a/archive/litenull_rewrite/scripts/controllers/tasksCtrl.js b/archive/litenull_rewrite/scripts/controllers/tasksCtrl.js
deleted file mode 100644
index 7a4caf7aec..0000000000
--- a/archive/litenull_rewrite/scripts/controllers/tasksCtrl.js
+++ /dev/null
@@ -1,111 +0,0 @@
-'use strict';
-
-habitrpg.controller('TasksCtrl', function TasksCtrl($scope, $rootScope, $location, filterFilter, User, Algos, Helpers, Notification) {
-
- $scope.user = User.user;
-
-
- $scope.score = function (task, direction) {
- //save current stats to compute the difference after scoring.
- var statsDiff = {};
- var oldStats = _.clone(User.user.stats);
-
- Algos.score(User.user, task, direction);
-
- //compute the stats change.
- _.each(oldStats, function (value, key) {
- var newValue = User.user.stats[key];
- if (newValue !== value) {
- statsDiff[key] = newValue - value;
- }
- });
- //notify user if there are changes in stats.
- if (Object.keys(statsDiff).length > 0) {
- // Notification.push({type: 'stats', stats: statsDiff});
- }
- User.log({op: 'score', task: task, dir: direction});
- };
-
- $scope.save = function(task) {
-
- var ops = ([
- {op: 'set', path: "tasks." + task.id + ".text", value: task.text},
- {op: 'set', path: "tasks." + task.id + ".notes", value: task.notes},
- {op: 'set', path: "tasks." + task.id + ".up", value: task.up},
- {op: 'set', path: "tasks." + task.id + ".down", value: task.down},
- {op: 'set', path: "tasks." + task.id + ".priority", value: task.priority},
- {op: 'set', path: "tasks." + task.id + ".date", value: task.date},
- {op: 'set', path: "tasks." + task.id + ".price", value: task.price},
- ])
-
- _.each(task.tags, function(el, key, list) {
- ops.push({op: 'set', path: "tasks." + task.id + ".tags." + key, value: el})
- })
-
- _.each(task.repeat, function(el, key, list) {
- ops.push({op: 'set', path: "tasks." + task.id + ".repeat." + key, value: el})
- })
-
- User.log(ops)
-
- task.editing = false
-
- }
-
-
- $scope.getRepeat = function(task, repeat) {
- var enabled = '';
- _.each(task.repeat, function(el, key, list) {
- if (key == repeat && el == true) {
- enabled = true
- }
- })
-
- if (enabled) {
- return true
- }else{
- return false
- }
- }
-
- $scope.setRepeat = function(task, repeat) {
-
- if (typeof task.repeat == 'undefined') {
- var obj = {}
- obj[repeat] = true;
-
- task.repeat = {}
- task.repeat = obj
- return true
- }
-
-
- if (!task.repeat[repeat]) {
- task.repeat[repeat] = true
- }else{
- task.repeat[repeat] = false
- }
-
- }
-
- $scope.addTag = function(task, tag) {
- var obj = {}
- obj[tag] = true
- task.tags.push(obj)
- }
-
- $scope.toggleTag = function(task, tag) {
- var obj = {}
- if (typeof task.tags != 'undefined') {
- if (!task.tags[tag]) {
- task.tags[tag] = false;
- }else{
- task.tags[tag] = true
- }
- }else{
- task.tags = {}
- task.tags[tag] = true
- }
- }
-
-});
diff --git a/archive/litenull_rewrite/scripts/services/notificationServices.js b/archive/litenull_rewrite/scripts/services/notificationServices.js
deleted file mode 100644
index 01c81913db..0000000000
--- a/archive/litenull_rewrite/scripts/services/notificationServices.js
+++ /dev/null
@@ -1,74 +0,0 @@
-angular.module('notificationServices', []).
- factory('Notification', function () {
- var data = {message:''};
- var active = false;
- var timer = null;
-
- return {
-
- hide: function () {
- $('#notification').fadeOut(function () {
- $('#notification').css('top', '-60px').css('webkit-transform', 'none').show().css('left', '0px');
- });
-
- active = false;
- timer = null;
- },
-
- animate: function () {
-
- if (timer) {
- clearTimeout(timer);
- timer = setTimeout(this.hide, 2000)
- }
-
- if (active == false) {
- active = true;
-
- $('#notification').transition({ y: 60, x: 0 });
- timer = setTimeout(this.hide, 2000);
- }
-
- },
-
- push: function (message) {
- data.message = ''
- // TODO implement message growl type notifications instead.
- // {type:'stats',stats:stats} and {type:"text", text:"text"}
- // {hp:1,gp:-2.2}
- switch(message.type) {
- case 'stats':
- var keys = Object.keys(message.stats)
- _.each(keys, function(el, index) {
- if (message.stats[el] < 0) {
- data.message += el + ':' + '' + message.stats[el] + ''
- }else{
- data.message += el + ':' + message.stats[el]
- }
- })
- break;
- case 'text':
- data.message = message.text
- break;
- }
-
- this.animate()
- },
-
- get: function () {
- return data;
- },
-
- clearTimer: function () {
- clearTimeout(timer);
- timer = null;
- active = false;
- },
-
- init: function () {
- timer = setTimeout(this.hide, 2000);
- }
-
- }
-
- });
\ No newline at end of file
diff --git a/archive/litenull_rewrite/views/auth/login.html b/archive/litenull_rewrite/views/auth/login.html
deleted file mode 100644
index 1652fba193..0000000000
--- a/archive/litenull_rewrite/views/auth/login.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
Existing User
-
-
-
-
-
Access Token:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
New User
-
-
-
\ No newline at end of file
diff --git a/archive/litenull_rewrite/views/list.html b/archive/litenull_rewrite/views/list.html
deleted file mode 100644
index e296d90aff..0000000000
--- a/archive/litenull_rewrite/views/list.html
+++ /dev/null
@@ -1,272 +0,0 @@
-
-
-
-
-
-
-
-
Habits
-
-
-
- -
-
-
-
{{task.text}}
-
-
-
-
-
-
-
-
-
Dailies
-
-
-
- -
-
-
-
-
-
-
-
- {{task.text}}
-
-
-
-
-
-
Advanced options
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{money_gold}}
-
-
-
- {{money_silver}}
-
-
-
-
Rewards
-
-
-
- -
-
-
-
{{task.text}}
-
-
-
-
-
-
-
-