Replaced base with own implementation

Now using Ubuntu 14.04 with Oracle Java 8